package com.ailanyin.modules.flowable.mapper;

import com.ailanyin.modules.flowable.domain.WfCopy;
import com.ailanyin.modules.flowable.domain.bo.WfCopyBo;
import com.ailanyin.modules.flowable.domain.vo.WfCopyVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ailanyin
 * @version 1.0
 * @since 2022/12/12 0012 上午 10:15
 */
public interface WfCopyMapper {

    /**
     * 批量新增
     *
     * @param copyList list
     * @return row
     */
    int insertBatch(@Param("list") List<WfCopy> copyList);

    /**
     * 主键查询
     *
     * @param copyId copyId
     * @return vo
     */
    WfCopyVo selectByCopyId(Long copyId);

    /**
     * 查询列表
     *
     * @param bo bo
     * @return list
     */
    List<WfCopyVo> selectList(WfCopyBo bo);
}
